package Igraf;

import java.awt.Graphics;

import javax.swing.ImageIcon;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.JTextField;
import javax.swing.JButton;
import javax.swing.SwingConstants;
import java.awt.BorderLayout;

public class TailerKudeaketa extends JPanel {
	private JTextField textField;
	private JTextField textField_1;

    
	public TailerKudeaketa(int w, int h){
        this.setSize(409,236);
        setLayout(null);
        
        JLabel lblNewLabel = new JLabel("A MI NO");
        lblNewLabel.setBounds(36, 45, 89, 14);
        add(lblNewLabel);
        
        JLabel lblNewLabel_1 = new JLabel("M PICA EL CULO");
        lblNewLabel_1.setBounds(36, 112, 115, 14);
        add(lblNewLabel_1);
        
        textField = new JTextField();
        textField.setBounds(161, 42, 86, 20);
        add(textField);
        textField.setColumns(10);
        
        textField_1 = new JTextField();
        textField_1.setBounds(161, 109, 86, 20);
        add(textField_1);
        textField_1.setColumns(10);
        

    }    
 
    @Override
    public void paint(Graphics g){
       ImageIcon imagenFondo = new ImageIcon(getClass().getResource("/Argazkia/fondo.jpg"));                     
       g.drawImage(imagenFondo.getImage(),0,0,getWidth(),getHeight(), null);                
        setOpaque(false);
        super.paintComponent(g);
    }    
}  

